<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Edit</title>
</head>
<body>


<form action="@{Contracts.save(id)}" method="post"
	enctype="multipart/form-data">
	<input type="hidden" value=${id}>
		<b> Name 1:</b> <input type="text" name="name1" value = ${c.name1}  />
		<b> Name 2:</b> <input type="text" name="name2"  value = ${c.name2} /><br /><br/>
		<b>Mobile 1 : </b> <input type="text" name="mobile1"  value = ${c.mobile1} />
		<b>Mobile 2 : </b> <input type="text" name="mobile2"  value = ${c.mobile2} /><br /><br/>
		<b>Phone 1 : </b> <input type="text" name="phone1"   value = ${c.phone1} />
		<b>Phone 2 : </b> <input type="text" name="phone2"  value = ${c.phone2} /><br /><br/>
		
		<b>Contract id</b> <input type="text" name="contract_id"  value = ${c.contract_id} />
		<b>Year </b> <input type="text" name="year"    value = ${c.year} /><br/>
		<br/>
		<b>Date : </b><input type="date" name="date"  value = ${c.date}/>
		<b>Address : </b><input type="text" name="address"   value = ${c.address}/>

		<b> Area :</b>

		<select name="area" value = ${c.area}>
		<option>A</option>
		<option>B</option>
		<option>C</option>
		</select><br><br>
		<b>	No of change/Month :</b>
			<select name="no_of_change_per_month" >
		<option value="none">none</option>
		<option value="1">1</option>
		<option value="2">2</option>
		<option value="4">4</option>
	</select>
	<p>
		<b> Products :</b>
	</p>
	<select name="Product1">
		<option value="none">none</option>
		<option value="Mop18">Mop18</option>
		<option value="Mit">Mit</option>
		<option value="HD1">HD1</option>
		<option value="HD2">HD2</option>
		<option value="Mop36">Mop36</option>
	</select>
	<b> Quantity :</b><input type="text" name="quantity1"   /> 
	<b> Price :</b><input type="text" name="item1_price" /> 
	<b> Total Price :</b><input type="text" name="total1_price" /> 

		<b> Smell :</b>

	<select name="smell1">
	<option value="none">none</option>
		<option value="jasmine">ياسمين</option>
		<option value="straw">فراولة</option>
		<option value="lemon">لمون</option>
		<option value="5o5">خوخ</option>

	</select>	<b> Floor Type :</b>
	<select name="floor_type1"'>
	<option> الباركيه</option>
	<option> السيراميك</option>
	<option> HDF </option>
	
	</select> <br /><br /> 
	
	<select name="Product2">
		<option value="none">none</option>
		<option value="Mop18">Mop18</option>
		<option value="Mit">Mit</option>
		<option value="HD1">HD1</option>
		<option value="HD2">HD2</option>
		<option value="Mop36">Mop36</option>
	</select>	<b> Quantity :</b><input type="text" name="quantity2"   /> 
	<b> Price :</b><input type="text" name="item2_price" /> 
	<b> Total Price :</b><input type="text" name="total2_price" /> 
		<b> Smell :</b>

	<select name="smell2">
	<option value="none">none</option>
		<option value="jasmine">ياسمين</option>
		<option value="straw">فراولة</option>
		<option value="lemon">لمون</option>
		<option value="5o5">خوخ</option>

	</select>	<b> Floor Type :</b>
	<select name="floor_type2"'>
	<option> الباركيه</option>
	<option> السيراميك</option>
	<option> HDF </option>
	
	</select> <br /><br />  
	
	 <select name="Product3">
		<option value="none">none</option>
		<option value="Mop18">Mop18</option>
		<option value="Mit">Mit</option>
		<option value="HD1">HD1</option>
		<option value="HD2">HD2</option>
		<option value="Mop36">Mop36</option>
	</select> 	<b> Quantity :</b><input type="text" name="quantity3"   /> 
	<b> Price :</b><input type="text" name="item3_price" /> 
	<b> Total Price :</b><input type="text" name="total3_price" />
		<b> Smell :</b>

	<select name="smell3">
	<option value="none">none</option>
		<option value="jasmine">ياسمين</option>
		<option value="straw">فراولة</option>
		<option value="lemon">لمون</option>
		<option value="5o5">خوخ</option>

	</select>	<b> Floor Type :</b>
	<select name="floor_type3"'>
	<option> الباركيه</option>
	<option> السيراميك</option>
	<option> HDF </option>
	
	</select> <br /><br /> 

	 <select name="Product4">
		<option value="none">none</option>
		<option value="Mop18">Mop18</option>
		<option value="Mit">Mit</option>
		<option value="HD1">HD1</option>
		<option value="HD2">HD2</option>
		<option value="Mop36">Mop36</option>
	</select> 
	<b> Quantity :</b><input type="text" name="quantity4"   /> 
	<b> Price :</b><input type="text" name="item4_price" /> 
	<b> Total Price :</b><input type="text" name="total4_price" />
		<b> Smell :</b>

	<select name="smell4">
	<option value="none">none</option>
		<option value="jasmine">ياسمين</option>
		<option value="straw">فراولة</option>
		<option value="lemon">لمون</option>
		<option value="5o5">خوخ</option>

	</select>	<b> Floor Type :</b>
	<select name="floor_type4"'>
	<option> الباركيه</option>
	<option> السيراميك</option>
	<option> HDF </option>
	
	</select> <br /><br /> 

	<select name="Product5">
		<option value="none">none</option>
		<option value="Mop18">Mop18</option>
		<option value="Mit">Mit</option>
		<option value="HD1">HD1</option>
		<option value="HD2">HD2</option>
		<option value="Mop36">Mop36</option>
	</select> <b> Quantity :</b><input type="text" name="quantity5" /> 
	<b> Price :</b><input type="text" name="item5_price" /> 
	<b> Total Price :</b><input type="text" name="total5_price" />
		<b> Smell :</b>

	<select name="smell5">
	<option value="none">none</option>
		<option value="jasmine">ياسمين</option>
		<option value="straw">فراولة</option>
		<option value="lemon">لمون</option>
		<option value="5o5">خوخ</option>

	</select> 

	<b> Floor Type :</b>
	<select name="floor_type5"'>
	<option> الباركيه</option>
	<option> السيراميك</option>
	<option> HDF </option>
	
	</select> <br /><br /> 

<input type="submit"  value="Save"/>
</form>
</body>
</html>